using UnityEngine;
using UnityEngine.UI;

namespace UI
{
    public class BulletBlock : MonoBehaviour
    {
        private Image imageBlock;

        private void Start()
        {
            imageBlock = GetComponentInChildren<Image>();
        }

        public void Hide()
        {
            imageBlock.gameObject.SetActive(false);
        }

        public void Show()
        {
            imageBlock.gameObject.SetActive(true);
        }
    }
}